package com.fy.tt.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaoliang
 * @since 2021-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("bls_environment")
//@ApiModel(value="Environment对象", description="")
@Table(name = "bls_environment")
public class Environment implements Serializable {

    private static final long serialVersionUID = 1L;

    //    @ApiModelProperty(value = "语境表唯一标识")
//    @TableId(value = "id", type = IdType.AUTO)
    @Id
    @Column(name = "id")
    private Long id;

    //    @ApiModelProperty(value = "对应语境类型（band、organization、department）ID")
    @Column(name = "type_id")
    private Long typeId;

    //    @ApiModelProperty(value = "语境定义文本")
    @Column(name = "content")
    private String content;

    //    @ApiModelProperty(value = "1 band, 2 organization, 3 department")
    @Column(name = "type")
    private Integer type;

}
